package com.bilibili.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bilibili.domain.entity.File;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
* @author www
* @description 针对表【t_file(文件表)】的数据库操作Service
* @createDate 2024-06-15 19:35:51
*/
public interface FileService extends IService<File> {

    String getFileMd5(MultipartFile file) throws Exception;

    String uploadFileBySlices(MultipartFile slice, String fileMD5, Integer sliceNo, Integer totalSliceNo) throws Exception;
}
